From 81e1cc4992fc37d2edd4967d0019d04c13347c84 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Fri, 13 May 2016 19:40:53 -0400 Subject: [PATCH] Fix markdown links that repeat their link text unnecessarily --- src/doc/crates-io.md | 8 ++++---- src/doc/guide.md | 6 +++--- src/doc/specifying-dependencies.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/doc/crates-io.md b/src/doc/crates-io.md index ad1289049..552971124 100644 --- a/src/doc/crates-io.md +++ b/src/doc/crates-io.md @@ -1,7 +1,7 @@ % Publishing on crates.io Once you've got a library that you'd like to share with the world, it's time to -publish it on [crates.io][crates-io]! Publishing a crate is when a specific +publish it on [crates.io]! Publishing a crate is when a specific version is uploaded to be hosted on crates.io. Take care when publishing a crate, because a publish is **permanent**. The @@ -10,8 +10,8 @@ limit to the number of versions which can be published, however. # Before your first publish -First thing’s first, you’ll need an account on [crates.io][crates-io] to acquire -an API token. To do so, [visit the home page][crates-io] and log in via a GitHub +First thing’s first, you’ll need an account on [crates.io] to acquire +an API token. To do so, [visit the home page][crates.io] and log in via a GitHub account (required for now). After this, visit your [Account Settings](https://crates.io/me) page and run the `cargo login` command specified. @@ -214,4 +214,4 @@ the “Grant Access” button next to its name: ![Authentication Access Control](images/auth-level-acl.png) -[crates-io]: https://crates.io/ +[crates.io]: https://crates.io/ diff --git a/src/doc/guide.md b/src/doc/guide.md index 96252483b..4afc3de64 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -129,13 +129,13 @@ project. # Adding Dependencies from crates.io -[crates.io][crates-io] is the Rust community's central repository that serves +[crates.io] is the Rust community's central repository that serves as a location to discover and download packages. `cargo` is configured to use it by default to find requested packages. To depend on a library hosted on [crates.io], add it to your `Cargo.toml`. -[crates-io]: https://crates.io/ +[crates.io]: https://crates.io/ ## Adding a dependency @@ -148,7 +148,7 @@ adds a dependency of the `time` crate: time = "0.1.12" ``` -The version string is a [semver][semver] version requirement. The [specifying +The version string is a [semver] version requirement. The [specifying dependencies](specifying-dependencies.html) docs have more information about the options you have here. diff --git a/src/doc/specifying-dependencies.md b/src/doc/specifying-dependencies.md index 5f1601623..f0f8365bb 100644 --- a/src/doc/specifying-dependencies.md +++ b/src/doc/specifying-dependencies.md @@ -18,7 +18,7 @@ guide](guide.html), we specified a dependency on the `time` crate: time = "0.1.12" ``` -The string `"0.1.12"` is a [semver][semver] version requirement. Since this +The string `"0.1.12"` is a [semver] version requirement. Since this string does not have any operators in it, it is interpreted the same way as if we had specified `"^0.1.12"`, which is called a caret requirement. -- 2.30.2